package com.tiger.db.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.handlers.JacksonTypeHandler;
import lombok.Data;

@Data
@TableName(value = "teacher")
public class Teacher {
    @TableId(type = IdType.AUTO) // 自增主键
    private Long id;

    private String openid;
    private String wxheadimgurl;
    private String account;

    private String password;

    private String salt;

    private Integer source;

    private String gh;
    private Integer userRole;

    private String name;

    private Integer sex;

    private String deptCode;
    private String dept;

    private String titleLevel;

    private String politicalCode;

    private String politicalStatus;

    private String jobStatusCode;

    private String jobStatus;

    private String technicalTitleCode;

    private String bzType;

    private String staffTypeCode;

    private String staffType;

    private String title;

    private String eduCode;

    private String eduLevel;

    private String position;

    private String positionLevel;

    private String jobPost;

    private String jobPostCode;

    private String nationCode;

    private String nation;

    private String cardNo;

    private String cardDate;

    private String cardExpire;

    private String employDate;

    private String tel;

    private String remark;

    private Long createTime;

    private Long updateTime;

    private Long lastLoginTime;

    private String lastIp;
}
